<?php

function phiz_replace($content)
{
    $arr=array( 
    "[抓狂]"=>'<img src="./Images/phiz/zhuakuang.gif" alt="抓狂" />',
   "[抱抱]"=> '<img src="./Images/phiz/baobao.gif" alt="抱抱" />',
    "[害羞]"=>'<img src="./Images/phiz/haixiu.gif" alt="害羞" />',
    "[酷]"=>'<img src="./Images/phiz/ku.gif" alt="酷" />',
    "[嘻嘻]"=>'<img src="./Images/phiz/xixi.gif" alt="嘻嘻" />',
    "[太开心]"=>'<img src="./Images/phiz/taikaixin.gif" alt="太开心" />',
    "[偷笑]"=>'<img src="./Images/phiz/touxiao.gif" alt="偷笑" />',
    "[钱]"=>'<img src="./Images/phiz/qian.gif" alt="钱" />',
    "[花心]"=>'<img src="./Images/phiz/huaxin.gif" alt="花心" />',
    "[挤眼]"=>'<img src="./Images/phiz/jiyan.gif" alt="挤眼" />'
    
);
return strtr($content,$arr);
    
}
